<body>Borrowed from jmock codebase</body>